import re

pattern = re.compile(r'\d+')

result = pattern.findall('zhangfeng 123 google 456')

result2 = pattern.findall('run88oob123google456',2,10)
print(result)
print(result2)